package com.xinzhidi.web.controlset.domain.po;

import com.xinzhidi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 平衡调控数据设置查询对象
 *
 * @author cx
 * @date 2023-06-27
 */
@ApiModel(value = "平衡调控数据设置查询对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class ControlSetPo {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "类型（0：小区  2：楼栋  2：单元 3：住户）")
    private String type;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "住户id")
    private Long householdId;

    @ApiModelProperty(value = "住户分类")
    private String houseHoldType;


    @ApiModelProperty(value = "楼栋阀门默认开度")
    @Excel(name = "楼栋阀门默认开度")
    private Integer buildingValveOpen;

    @ApiModelProperty(value = "单元阀门默认开度")
    @Excel(name = "单元阀门默认开度")
    private Integer unitValveOpen;

    @ApiModelProperty(value = "住户阀门默认开度")
    @Excel(name = "住户阀门默认开度")
    private Integer householdValveOpen;

    @ApiModelProperty(value = "调控方法（1：手动调控  2：自动调控）")
    private String regulationMethod;

    @ApiModelProperty(value = "优先级（1：楼栋  2：单元）")
    private Integer priority;

}
